﻿using MediatR;
using System.ComponentModel.DataAnnotations;
using WMS_Goodsinfo.Api.Read.DTOS;
using WMS_Goodsinfo.ErrorCode;

namespace WMS_Goodsinfo.Api.Read.Application.Command
{
    public class SelectBatchCommand:IRequest<ApiPaging<BatchListDto>>
    {
        public int Pageindex { get; set; } = 1;
        public int Pagesize { get; set; } = 20;
        /// <summary>
        /// 商品名称
        /// </summary>
        public string? ProductName { get; set; }
        /// <summary>
        /// 货品类型(下拉选择)
        /// </summary>
        public string? ProductTypeId { get; set; }
        /// <summary>
        /// 单位
        /// </summary>
        public string? UnitName { get; set; }
        /// <summary>
        /// 仓库
        /// </summary>
        public string? Inventory { get; set; }

        /// <summary>
        /// 批次
        /// </summary>
        public string? Batch { get; set; }
        /// <summary>
        /// 生产日期
        /// </summary>
        public DateTime? Productiondate { get; set; }
        /// <summary>
        /// 到期日期
        /// </summary>
        public DateTime? Expirationdate { get; set; }

    }
}
